class Solution {
public:
    double quickPow(double x, long long n) {
        if (n == 0) return 1.0;
        while (n > 2) {
            int y = 
        }
    }
    double myPow(double x, int n) {
        long long N = n;
        return n > 0 ? quickPow(x, N) : 1.0 / quickPow(x, -N);

    }
};
